package com.easipass.framework.eirframeworkstream;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableJpaRepositories(basePackages={"com.easipass.framework.eirframeworkjdbc"})
@EnableMongoRepositories(basePackages={"com.easipass.framework.eirframeworkjdbc"})
@EntityScan(basePackages = {"com.easipass.framework.eirframeworkjdbc"})
@ComponentScan(basePackages = {"com.easipass.framework.eirframeworkstream",
        "com.easipass.framework.eirframeworkjdbc"})
public class EirFrameworkStreamApplication {

    public static void main(String[] args) {
        SpringApplication.run(EirFrameworkStreamApplication.class, args);
    }
}
